/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fiad.gui.events;

import fiad.gui.panels.KursePanel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 *
 * @author MJ
 */
public class KursPanelListener implements ActionListener {

    KursePanel kP;

    public KursPanelListener(KursePanel kP) {
        this.kP = kP;
    }

    public void actionPerformed(ActionEvent e) {
        kP.aendereModus(e.getActionCommand());

    }
}
